export default function updateTextNode (newVirtual, oldVirtual, dom) {
  if (newVirtual.props.textContent !== oldVirtual.props.textContent) {
    dom.textContent = newVirtual.props.textContent
    dom._virtualDOM = newVirtual
  }
}